package com.chrray.position.entity.position.base;

import com.chrray.position.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import java.util.Date;

/**
 *系统角色菜单关系
 *@author lm
**/
@Entity
@Data
@ApiModel(value ="系统角色菜单关系",description = "系统角色菜单关系")
public class SysRoleMenuBaseEntity extends  BaseEntity{
    private Long id;


    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "菜单id")
    private Long menuId;

    @ApiModelProperty(value = "选中状态")
    private Integer state;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "1菜单2按钮")
    private Integer type;

    private Integer fullControl;

    @ApiModelProperty(value = "用户id")
    private Long userId;


}
